Skip to content

Conversation

@koratalas
Copy link
Contributor

This utility is used to safely convert a string into a valid JSON object in JavaScript. It creates a JSON object that can be utilized further in the flow leverage the key value pairs and values easily.

Example :
On input of string: "First name: Sai,Last name:charan,phone:1234567890"
output would be a json object containing {"First name":" Sai","Last name":"charan","phone":"1234567890"}

This can be used as a utility action by the developer to reduce their efforts in creating a JSON object seemlessly.

admin added 2 commits October 4, 2025 03:37
…contains key:value pair and is separated by "," and converts it to JSON object that can be further utilized in the flow when and as required.
@github-actions
Copy link

github-actions bot commented Oct 4, 2025

Valid PR for ActionPack

Thank you for your contribution. This PR complies with the CONTRIBUTING.md.
A maintainer will review this shortly. In the meantime, Happy Hacking!

@am-shakeel am-shakeel self-assigned this Oct 4, 2025
Copy link
Contributor

@am-shakeel am-shakeel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@am-shakeel am-shakeel merged commit 942e4e8 into ServiceNowDevProgram:main Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants